package com.pubinfo.passbook.common.model.http.User;

import com.pubinfo.passbook.common.model.vo.base.IErrorCode;

public enum UserResultCode {
  SUCCESS("SUCCESS", "成功"),
  FAILED("FAILED", "非本单位用户"),
  PARAM_ILLEGAL("PARAM_ILLEGAL", "参数非法"),
  SYSTEM_ERROR("SYSTEM_ERROR", "系统异常"),
  SIGN_AUTH_FAILED("SIGN_AUTH_FAILED ", "验签失败"),
  INVOICE_NOT_EXIST("INVOICE_NOT_EXIST ", "票据不存在"),
  INVALID_INVOICE_STATUS("INVALID_INVOICE_STATUS ", "票据状态非法");
  
  private final String resultCode;
  private final String resultMsg;
  
  UserResultCode(String resultCode, String resultMsg) {
    this.resultCode = resultCode;
    this.resultMsg = resultMsg;
  }
  
  public String getResultCode() {
    return resultCode;
  }
  
  public String getResultMsg() {
    return resultMsg;
  }
}
